package com.hmkj.core.po.wx;

import com.hmkj.common.baseMapper.GenericPo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Table;
import java.util.function.Consumer;


/**
 * 微信公众号回复素材表实体信息<br>
 *
 * @author Vector
 * @date   2017-10-18 10:04:13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "微信公众号回复素材表")
@Table(name = "wx_reply")
public class WxReply extends GenericPo<Integer> {

    public static final String TABLE_NAME = "wx_reply";

	
	/**回复内容**/
	@ApiModelProperty(value = "回复内容")
	private Object content;
	/**回复说明**/
	@ApiModelProperty(value = "回复说明")
	private String note;
	/**回复主题**/
	@ApiModelProperty(value = "回复主题")
	private String title;
	/**回复类型1文字2图文**/
	@ApiModelProperty(value = "回复类型1文字2图文")
	private Integer type;
	/**所属微信公众号编号**/
	@ApiModelProperty(value = "所属微信公众号编号")
	private Integer wxId;
	/**备注**/
	@ApiModelProperty(value = "备注")
	private String remark;

    public WxReply(){}

    public WxReply(Consumer<WxReply> consumer){
    consumer.accept(this);
    }
}

